import pygetwindow as gw
from src.python.tools.logHandler import logger


def getAllWindow():
    window_list = gw.getWindowsWithTitle("风云之王之荣耀")
    logger().info(f"共计找到{len(window_list)}个窗口,游戏窗口列表: {window_list}")
    return window_list
